package cn.com.manager.service;

import java.util.List;
import java.util.Map;

public interface WeiboService {
	void saveUser(String username, String password);

	List<String> newRegisterUser();

	String userLogin(String username, String password);

	Map<String, Object> getUserInfo(String username);

	Map<String, Object> getUserInfoById(String userid);

	boolean isFollow(String username, String currentUserId);

	void follow(String uid, String currentUserId);

	void cancelFollow(String uid, String currentUserId);

	Map<String, Long> followInfoAmount(String currentUserId);

	void publish(String userid, String content);

	List<Map<String, Object>> getPost(String userid);

	List<Map<String, Object>> getPost();

	void ColdDataProcessing();
}
